package com.offcn.sellergood.service;
import com.offcn.sellergood.entity.SpecificationEntity;
import com.offcn.sellergood.pojo.Specification;
import com.baomidou.mybatisplus.extension.service.IService;

/****
 * @Author:ujiuye
 * @Description:Specification业务层接口
 * @Date 2021/2/1 14:19
 *****/

public interface SpecificationService extends IService<Specification> {
    /*
     * 添加规格
     * */
    void add(SpecificationEntity entity);
    //根据id查找
    public SpecificationEntity findById(Long id);
    //改
    void update(SpecificationEntity entity);

    void deleteBy(Long id);
}
